@import '~styles/sizes.less';
@import '~styles/colors.less';

.root {
  display: inline-block;
  vertical-align: top;
  position: relative;
  height: @topMenuHeight;
  padding: 0 16px;
  line-height: @topMenuHeight;
}

.big {
  height: 31px;
  line-height: 31px;

  .text {
    font-size: 12px;
  }

  .button {
    font-size: 12px;
  }
  .state {
    :global span {
      font-size: 12px;
    }
  }
}

.white {
  .button {
    color: @adminText;

    &:hover {
      color: @adminTextHighlight;
    }
  }
}

.text {
  color: @primary;
  font-size: 9px;
}

.button {
  color: @chromeTextColor;
  font-size: 9px;

  &:hover {
    color: @chromeTextColorHighlight;
  }
}

.state {
  display: inline-block;
  vertical-align: top;
  padding: 0 16px;
  line-height: @topMenuHeight;
  height: @topMenuHeight;

  :global {
    i, span {
      display: inline-block;
      vertical-align: top;
      line-height: @topMenuHeight;
    }
    i {
      font-size: 20px;
    }
    span {
      margin-left: 7px;
      color: @primary;
      font-size: 9px;
    }
  }
}

.spinner {
  margin-top: 5px;
}

.success {
  :global {
    i, span {
      color: @success;
    }
  }
}

.error {
  :global {
    i, span {
      color: @alert;
    }
  }
}
